#include <iostream>
#include <vector>
/**
 * @brief 递归输出 vector<int> 的内容
 * 
 * @param vInt 
 * @param index 
 */
void print(std::vector<int> vInt, unsigned index)
{
    unsigned sz = vInt.size();
    if(!vInt.empty() && index < sz)
    {
        std::cout << vInt[index] << std::endl;
        print(vInt, index + 1);
    }
}

int main()
{
     std::vector<int> v = {1,3,5,6,7,9,0,100,19};
     print(v, 0);
     return 0;
}